import React from 'react';
import { BrowserRouter, Route } from 'react-router-dom';

import Login from '@/pages/user/login';

import RouterPage from './RouterPage';

const CreateRoute = () => {
  return (
    <BrowserRouter>
      <RouterPage />
      <Route exact path="/login" component={Login} />
    </BrowserRouter>
  );
};

export default CreateRoute;
